<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
<center>
<form action="loginManager-login.action" method="post">
<div style="display:  ${param.error == true ? 'block;' : 'none;'}"> 
  登陆失败: ${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}
</div> 
<fieldset style="width: 180px;">
	<legend>Login</legend>
	<table>
		<tr>
			<td>用户名:</td>
			<td><input name="j_username" type="text" value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}" size="12"></td>
		</tr>
		<tr>
			<td>密&nbsp;码:</td>
			<td><input name="j_password" type="password" size="12"></td>
		</tr>
		<tr>
			<td colspan="2"><input type="checkbox" name="_spring_security_remember_me4" />两周之内不必登陆</td>
		</tr>
		<tr>
			<td colspan="2" align="right"><input name="submit" type="submit" value="登录"/></td>
		</tr>
	</table>
</fieldset>
</form>
</center>
</body>
</html>